package cn.iocoder.yudao.module.product.convert.calculationmodel;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.product.controller.admin.calculationmodel.vo.ProcessModelCreateReqVO;
import cn.iocoder.yudao.module.product.controller.admin.calculationmodel.vo.ProcessModelRespVO;
import cn.iocoder.yudao.module.product.controller.admin.calculationmodel.vo.ProcessModelUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.product.dal.dataobject.calculationmodel.ProcessModelDO;

/**
 * 工序-模型关联 Convert
 *
 * @author wcl
 */
@Mapper
public interface ProcessModelConvert {

    ProcessModelConvert INSTANCE = Mappers.getMapper(ProcessModelConvert.class);

    ProcessModelDO convert(ProcessModelCreateReqVO bean);

    ProcessModelDO convert(ProcessModelUpdateReqVO bean);

    ProcessModelRespVO convert(ProcessModelDO bean);

    List<ProcessModelRespVO> convertList(List<ProcessModelDO> list);

    PageResult<ProcessModelRespVO> convertPage(PageResult<ProcessModelDO> page);

}
